Data
(Formerly called SubPacket)
The payload portion fo a packet, this is the actual bytes that are sent
inside a radio packet (because from/to are broken out by the comms library)
Content copied to clipboard
meshtastic.Data
Types
Properties
Functions
Link copied to clipboard
Link copied to clipboard
Bitfield for extra flags. First use is to indicate that user approves the packet being uploaded to MQTT.
Content copied to clipboard
optional uint32 bitfield = 9;
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
The address of the destination node.
This field is is filled in by the mesh radio device software, application
layer software should never need it.
RouteDiscovery messages _must_ populate this.
Other message types might need to if they are doing multihop routing.
Content copied to clipboard
fixed32 dest = 4;
Link copied to clipboard
Link copied to clipboard
TODO: REPLACE
Content copied to clipboard
bytes payload = 2;
Link copied to clipboard
Formerly named typ and of type Type
Content copied to clipboard
.meshtastic.PortNum portnum = 1;
Link copied to clipboard
Formerly named typ and of type Type
Content copied to clipboard
.meshtastic.PortNum portnum = 1;
Link copied to clipboard
If set, this message is intened to be a reply to a previously sent message with the defined id.
Content copied to clipboard
fixed32 reply_id = 7;
Link copied to clipboard
Only used in routing or response messages.
Indicates the original message ID that this message is reporting failure on. (formerly called original_id)
Content copied to clipboard
fixed32 request_id = 6;
Link copied to clipboard
Link copied to clipboard
Not normally used, but for testing a sender can request that recipient
responds in kind (i.e. if it received a position, it should unicast back it's position).
Note: that if you set this on a broadcast you will receive many replies.
Content copied to clipboard
bool want_response = 3;
Link copied to clipboard
Bitfield for extra flags. First use is to indicate that user approves the packet being uploaded to MQTT.
Content copied to clipboard
optional uint32 bitfield = 9;
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun parseDelimitedFrom(input: InputStream, extensionRegistry: ExtensionRegistryLite): MeshProtos.Data
Link copied to clipboard
open fun parseFrom(input: CodedInputStream, extensionRegistry: ExtensionRegistryLite): MeshProtos.Data
Link copied to clipboard
Link copied to clipboard